Ptatap\Compatibility\Wpml C

Total Complexity 117
Dependencies 4
Dependents 1
Total lines 551
Lines of code 405
Logical lines of code 263
Comment lines 8
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
setPostTypeTranslationStrings()
B
38 16 73
setIcLsLanguages()
A
43 14 46
setRewriteRulesArray()
A
45 13 41
setOptionValueToDefaultLanguage()
A
45 11 45
getPostTypeLink()
A
48 9 33
setTaxonomyTranslationStrings()
A
54 9 19
redirectTo404IfArchivePageNotFoundInCurrentLanguage()
S
52 6 25
getPostTypeArchiveLink()
S
55 6 19
setWpmlAlternateHrefLang()
S
57 5 16
setWpmlLsLanguageUrls()
S
57 5 16
getWpmlObjectId()
S
62 6 10
setTranslatedPostTypeReadingSettings()
S
61 5 11
addTrailingSlashToIcLsLanguagesUrls()
S
64 4 9
__construct()
S
57 2 15
getPageForArchiveUri()
S
60 2 12
isWpmlActive()
S
70 2 6
getTranslatedPermalinkBaseUri()
S
64 2 9